package com.nt.train.dto;

/**
 * 订单类
 * @author hlf
 * @version 1.0
 * @date 2022/8/3 13:45
 */
public class Orders {

    /**
     * 订单名称
     */
    private String orderName;

    /**
     * 订单价格
     */
    private double orderPrice;

    public Orders() {
    }

    public Orders(String orderName, double orderPrice) {
        this.orderName = orderName;
        this.orderPrice = orderPrice;
    }

    public String getOrderName() {
        return orderName;
    }

    public void setOrderName(String orderName) {
        this.orderName = orderName;
    }

    public double getOrderPrice() {
        return orderPrice;
    }

    public void setOrderPrice(double orderPrice) {
        this.orderPrice = orderPrice;
    }

    @Override
    public String toString() {
        return "Orders{" +
                "orderName='" + orderName + '\'' +
                ", orderPrice=" + orderPrice +
                '}';
    }
}
